#include "SpotLight.h"

namespace ds {

SpotLight::SpotLight() : PointLight() {
	m_Light.Type = D3DLIGHT_SPOT;	
	m_Light.Diffuse = Color(1.0f,1.0f,1.0f,1.0f);
	m_Light.Ambient = Color(1.0f,1.0f,1.0f,1.0f);
	m_Light.Specular = Color(1.0f,1.0f,1.0f,1.0f);
	m_Light.Direction = Vec3(1.0f,1.0f,1.0f);
	m_Light.Position = Vec3(1.0f,1.0f,1.0f);
	m_Light.Attenuation0 = 0.45f;
	m_Light.Attenuation1 = 0.0025f;
	m_Light.Attenuation2 = 0.000025f;
	m_Light.Range = 1000.0f;
	m_Light.Falloff = 1.0f;
	m_Light.Theta = 2.0f;
	m_Light.Phi = 3.14159f;
	setActive(true);
}


SpotLight::~SpotLight() {
}

};
